<%@ page contentType="text/html; charset=utf-8" language="java" errorPage="" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<base href="<%=basePath%>"/>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>管理员管理</title>
    <link href="css/moban.css" type="text/css" rel="stylesheet" media="screen" />
    <link href="css/widget.css" type="text/css" rel="stylesheet" media="screen" />
    <link href="./superAdmin/css/addbtn.css" type="text/css" rel="stylesheet" media="screen" />
<script type="text/javascript">
function showMsg() {
	var msg = '${message}';
	if(msg!=null&&msg!=""){
		alert(msg);
	}
}
</script>
</head>

<body onload="showMsg()">
<div style="background-color:#2E5E79;width:100%;height:50px;position:fixed;top:0;left:0;"></div>
<div id="package">
	<div id="hel">
		<div id="title">
    		<span><img src="./managementOfMember/images/home.png" /> &nbsp;管理员列表信息</span>
 			<span id="right"><a href="departmentsAdmin.action" target="main"><input type="submit" name="submit" class="className" value=" 添 加 " /></a></span>
    	</div>
    </div>
	<div id="content">
    		<table class="tab">
        	<tr >
            	<th width="10%" height="25px">序号</th>
            	<th width="68%">管理员</th>
                <th width="20%" >操作</th>
            </tr>

            <s:iterator value="#request.masters" var="master" status="item">
            	<tr style="height:25px;">
            		<td><s:property value="%{#item.getIndex()+1}"/></td>
            		<td>${master.masterid}</td>
            		<td><a onclick="return confirm('确认删除?')" href="deleteAdmin.action?masterId=${master.masterid }"><input type="submit" name="submit" class="className" style="margin-top:-3px;"value=" 删除 " /></a></td>
            	</tr>	
			</s:iterator>
        </table>
    </div>
</div>
</body>
</html>